<?php echo $this->Form->create('StoreProduct',array('url'=>array_merge(array('plugin'=>'store','controller'=>'products','action'=>'search'), $this->params['pass'])));?>
<table cellpadding="4" cellspacing="0" width="100%">
	<tr>
		<td valign="middle" align="right">
			<?php echo __d('store','Search by',true)?>
		</td>			
		<td valign="middle" align="left">
			<?php echo $form->input('model_id',array('label'=>false,'options'=>$store->products_mdels(),'empty'=>__d('store','- Offer Type -',true),'class'=>'search_filters'))?>	
		</td>
		<td valign="middle" align="left">
			<?php echo $form->input('price_detaliczna',array('label'=>false,'options'=>array('0;30'=>'0 - 30','31;50'=>'31 - 50','51;150'=>'51 - 150','151;300'=>'151 - 300','301;500'=>'301 - 500','501;1000'=>'501 - 1 000','1001;5000'=>'1 001 - 5 000'),'empty'=>__d('store','- Price -',true),'class'=>'search_filters'))?>
		</td>
		<td valign="middle">
			<?php echo $form->input('category_id',array('label'=>false,'options'=>$this->Store->categories(false,'selectbox'),'empty'=>__('- Category -',true),'class'=>'search_filters'));?>
		</td>
		<td valign="middle" align="center">
			<input type="image" src="/img/store.hanibuty/buttons_search.png" style="border: none; padding: 0px; margin: 0px;" />
		</td>
	</tr>
</table>
<?php echo $this->Form->end();?>